package org.tuling.tlmallorder.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.tuling.tlmallcommon.Result;
import org.tuling.tlmallorder.feign.dto.AccountDTO;

@FeignClient(name = "tlmall-account")
public interface AccountServiceFeignClient {

	@PostMapping("/account/reduce-balance")
    Result<?> reduceBalance(@RequestBody AccountDTO accountReduceBalanceDTO);

}
